package com.stylefeng.guns.modular.system.service.impl;

import java.util.List;
import java.util.Map;

import com.stylefeng.guns.modular.system.model.YdayGpc;
import com.stylefeng.guns.modular.system.dao.YdayGpcMapper;
import com.stylefeng.guns.modular.system.service.IYdayGpcService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-27
 */
@Service
public class YdayGpcServiceImpl extends ServiceImpl<YdayGpcMapper, YdayGpc> implements IYdayGpcService {

	@Autowired
	private YdayGpcMapper  ydayGpcMapper;
	
	@Override
	public YdayGpc selectByDate(YdayGpc ydayGpc) {
		return ydayGpcMapper.selectByDate(ydayGpc);
	}

	@Override
	public List<Map<String, Object>> selectByCurrentDayGpc(
			String gTime, Integer zlje, Integer mp,Integer lbcount) {
		return ydayGpcMapper.selectByCurrentDayGpc(gTime, zlje, mp,lbcount);
	}

}
